def out(num1):
    def inner(num2):
        result = num2+num1

        print(f"外部函数的值:{num1},内部函数的值{num2},"
              f"相加的结果为{result}")

    return inner

f = out(100)

f(200)